package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 教学科目表 t_subject
 * 
 * @author ruoyi
 * @date 2018-11-01
 */
public class Subject extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long subjectId;
	/** 类别 */
	private String type;
	/** 描述 */
	private String miaoshu;
	/** 级别 */
	private String level;
	/** 价格 */
	private BigDecimal price;
	/** 备注 */
	private String remark;

	public void setSubjectId(Long subjectId) 
	{
		this.subjectId = subjectId;
	}

	public Long getSubjectId() 
	{
		return subjectId;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setmiaoshu(String miaoshu) 
	{
		this.miaoshu = miaoshu;
	}

	public String getmiaoshu() 
	{
		return miaoshu;
	}
	public void setLevel(String level) 
	{
		this.level = level;
	}

	public String getLevel() 
	{
		return level;
	}
	public void setPrice(BigDecimal price) 
	{
		this.price = price;
	}

	public BigDecimal getPrice() 
	{
		return price;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subjectId", getSubjectId())
            .append("type", getType())
            .append("miaoshu", getmiaoshu())
            .append("level", getLevel())
            .append("price", getPrice())
            .append("remark", getRemark())
            .toString();
    }
}
